package com.shanpin.shebao.admin.db;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

import com.shanpin.core.db.AbstractDbService;

import javax.annotation.PostConstruct;

/**
 * 后台数据库连接对象
 * @author 品讯科技
 *
 */
@Repository
public class AdminDbRepository extends AbstractDbService {

	@Autowired
	private JdbcTemplate jdbcTemplate;
	
	@PostConstruct
	public void init() {
		setJdbcTemplate(jdbcTemplate);
	}

}
